import { createStore } from "vuex";

export default createStore({
  state: {
    progress: 0,
  },
  getters: {
    
  },
  mutations: {
    setProgress(state, progress) {
      state.progress = progress;
    },
  },
  actions: {
    updateProgress({ commit }, progress) {
      commit('setProgress', progress);
    }
  },
  modules: {},
});
